package cc.eddic.examinationsystem.repository;

import cc.eddic.examinationsystem.domain.Student;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface StudentRepository extends JpaRepository<Student, Long> {

    Optional<Student> findByEmployeeNo(Long employeeNo);
}
